<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:set var="basePath" value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}/">
</c:set>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="${basePath}">
    
    <title>注册</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

  </head>
  
  <body>
    <form action="register.action" name="register" method="post" enctype="multipart/form-data">
    	<p>帐号：<input type="text" name="userInfo.userName"></p>
    	<p>密码：<input type="password" name="userInfo.password"></p>
    	<p>性别：<input type="radio" name="userInfo.userGender" value="男" checked>男<input type="radio" name="userGender" value="女">女</p>
    	<p>年龄：<input type="text" name="userInfo.userAge"></p>
    	<p>住址：<input type="text"name="userInfo.userAddress"></p>
    	<p>邮编：<input type="text" name="userInfo.userPostalcode"></p>
    	<p>电话：<input type="text"name="userInfo.userPhone"></p>
    	<!-- <p>头像：<input type="file"name="userInfo.userPhoto"></p> -->
    	<p><input type="submit"name="submit" value="提交"></p>
    </form>
    <p><font color="red"><b>${message}</b></font></p>
  </body>
</html>
